<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="/WEB-INF/tlds/nodes-faces.tld" prefix="n" %>
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<f:subview id="pathView">

    <h:inputHidden value="#{PathBean.path}" immediate="true"/>

    <h:panelGroup>
        <%--n:applet
                  code="offset.nodes.client.view.KeepAliveApplet" codebase="#{NodesBean.contextPath}" jar="dialog.jar"
                  width="0" height="0">
        </n:applet--%>

        <h:panelGroup id="path" layout="block" style="display:inline"/>
        
        <h:panelGroup rendered="#{!LayoutBean.showingActions}" >
        <h:graphicImage rendered="#{!LayoutBean.showingActions}" onclick="runDialog('path')" value="#{NodesBean.imagePath}/chooseNode.png" alt="#{msg.goto}" title="#{msg.goto}" style="cursor:pointer;"/>
        <n:applet generateCode="path"
                  code="offset.nodes.client.dialog.chooser.view.GotoNodeApplet" codebase="#{NodesBean.contextPath}" jar="dialog.jar"
                  width="0" height="0" rendered="#{NodesBean.appletSubstitution}">
            <f:param name="service" value="#{NodesBean.dialogPath}"/>
            <f:param name="path" value="#{PathBean.path}"/>
            <f:param name="root" value="#{PathBean.path}"/>
            <f:param name="filter" value="*"/>
            <f:param name="onlyFolders" value="true"/>
            <f:param name="repository" value="#{NodesBean.repositoryPath}"/>
        </n:applet>

        &nbsp;&nbsp;
        </h:panelGroup>
        <n:path path="#{PathBean.path}"/>
        
    </h:panelGroup>

</f:subview>
